﻿using System;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace Caliburn.Micro.BikeWizard.Utils
{
    public class CollectionHelper
    {
        public static string ToString<T>(IList<T> objectList)
        {
            String result = "";

            for (int i = 0; i < objectList.Count(); i++)
            {
                if (i != 0)
                    result += ", ";

                result += objectList[i];
            }

            return result;
        }
    }
}
